翻訳と辞書
Words near each other
・ Director of the Bureau of Engraving and Printing
・ Director of the Central Intelligence Agency
・ Director of the Defense Intelligence Agency
・ Director of the Federal Bureau of Investigation
・ Directionality (molecular biology)
・ Directions (delegated legislation)
・ Directions (Miles Davis album)
・ Directions (Norman Blake album)
・ Directions (PC Quest album)
・ Directions Home
・ Directions In Groove
・ Directions in Music
・ Directions to See a Ghost
・ Directive
・ Directive (European Union)
Directive (programming)
・ Directive 2001/19/EC
・ Directive 2001/83/EC
・ Directive 2004/113/EC
・ Directive 2011/77/EU on the term of protection of copyright
・ Directive 2012/28/EU
・ Directive 51
・ Directive 51 (novel)
・ Directive 5120.36
・ Directive 65/65/EEC
・ Directive 75/318/EEC
・ Directive 75/319/EEC
・ Directive 80/1269/EEC
・ Directive 82/501/EC
・ Directive 93/41/EEC


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Directive (programming) : ウィキペディア英語版
Directive (programming)
In computer programming, a directive pragma (from "pragmatic") is a language construct that specifies how a compiler (or assembler or interpreter) should process its input. Directives are not part of the language proper – they are not part of the grammar, and may vary from compiler to compiler – but instead function either as an in-band form of a command-line option, specifying compiler behavior, or are processed by a preprocessor. In some cases directives specify global behavior, while in other cases they only affect a local section, such as a block of programming code. In some cases, such as some C pragmas, directives are optional compiler hints, and may be ignored, but normally they are prescriptive, and must be followed. However, a directive does not perform any action in the language itself, but rather only a change in the behavior of the compiler.
This term could be used to refer to proprietary third party tags and commands (or markup) embedded in code that result in additional executable processing that extend the existing compiler, assembler and language constructs present in the development environment. The term "directive" is also applied in a variety of ways that are similar to the term ''command''.
==The C preprocessor==
(詳細はC and C++, the language supports a simple macro preprocessor. Source lines that should be handled by the preprocessor, such as #define and #include are referred to as ''preprocessor directives''.
Another C construct, the #pragma directive, is used to instruct the compiler to use pragmatic or implementation-dependent features. Two notable users of this directive are OpenMP and OpenACC.
Syntactic constructs similar to C's preprocessor directives, such as C#'s #if, are also typically called "directives", although in these cases there may not be any real preprocessing phase involved.
All preprocessor commands begin with a hash symbol (#).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Directive (programming)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.